<template>
  <div class="message">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="消息列表" name="first">
      </el-tab-pane>
      <el-tab-pane label="关键词回复" name="second">配置管理</el-tab-pane>
      <el-tab-pane label="事件回复" name="third">角色管理</el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
export default {
  data () {
    return {
      activeName: 'second'
    }
  },
  methods: {
    handleClick (tab, event) {
      console.log(tab, event)
    }
  }
}
</script> 
<style>

</style>
